﻿using Actya.Core.Infrastructure;

namespace Actya.Core.Widgets
{
	public class HtmlWidget : WidgetBase
	{
		public string Content { get; set; }

		public override WidgetBase SanitizeContent(System.Func<string, string> sanitize)
		{
			this.Content = sanitize(this.Content);
			return this;
		}
	}
}
